package org.example.myleet.p946;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.validateStackSequences(new int[]{1,2,3,4,5}, new int[]{4,5,3,2,1}));
        Assert.isTrue(!solution.validateStackSequences(new int[]{1,2,3,4,5}, new int[]{4,3,5,1,2}));
    }
}
